package com.drojian.demo3.service.local;

import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.util.Log;

import androidx.annotation.Nullable;

public class MyLocalService extends Service {
    public MyLocalService() {
        Log.e("xjq", "MyLocalService()");

    }

    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        Log.e("xjq", "MyLocalService  onBind()");

        return new Binder();
    }

    @Override
    public boolean onUnbind(Intent intent) {
        Log.e("xjq", "MyLocalService  onUnbind()");

        return super.onUnbind(intent);
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Log.e("xjq", "MyLocalService  onCreate()");
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        Log.e("xjq", "MyLocalService  onDestroy()");
    }

}
